package com.ys.entity.sys;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TS_FilesInfo", catalog="Id")
public class TsFilesInfo extends BaseEntity<TsFilesInfo> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="Vtype", nameJava="vtype", typeDataBase="varchar")
	private String vtype;
	@YsField(nameDataBase="FileName", nameJava="fileName", typeDataBase="varchar")
	private String fileName;
	@YsField(nameDataBase="FileType", nameJava="fileType", typeDataBase="varchar")
	private String fileType;
	@YsField(nameDataBase="FileSize", nameJava="fileSize", typeDataBase="varchar")
	private String fileSize;
	@YsField(nameDataBase="FileSizeUnit", nameJava="fileSizeUnit", typeDataBase="varchar")
	private String fileSizeUnit;
	@YsField(nameDataBase="FilePath", nameJava="filePath", typeDataBase="varchar")
	private String filePath;
	@YsField(nameDataBase="FileMark", nameJava="fileMark", typeDataBase="varchar")
	private String fileMark;
	@YsField(nameDataBase="FieldName", nameJava="fieldName", typeDataBase="varchar")
	private String fieldName;
	@YsField(nameDataBase="CreateUser", nameJava="createUser", typeDataBase="varchar")
	private String createUser;
	@YsField(nameDataBase="BHidden", nameJava="bHidden", typeDataBase="bit")
	private Integer bHidden;
	@YsField(nameDataBase="BidLogsticsOrder", nameJava="bidLogsticsOrder", typeDataBase="varchar")
	private String bidLogsticsOrder;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="ShenbaoTime", nameJava="shenbaoTime", typeDataBase="datetime")
	private Date shenbaoTime;
	@YsField(nameDataBase="StateShenbao", nameJava="stateShenbao", typeDataBase="tinyint")
	private Integer stateShenbao;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TsFilesInfo setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TsFilesInfo setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getVtype() {
		return vtype;
	}
	public TsFilesInfo setVtype(String vtype) {
		this.vtype = vtype;
		return this;
	}
	public String getFileName() {
		return fileName;
	}
	public TsFilesInfo setFileName(String fileName) {
		this.fileName = fileName;
		return this;
	}
	public String getFileType() {
		return fileType;
	}
	public TsFilesInfo setFileType(String fileType) {
		this.fileType = fileType;
		return this;
	}
	public String getFileSize() {
		return fileSize;
	}
	public TsFilesInfo setFileSize(String fileSize) {
		this.fileSize = fileSize;
		return this;
	}
	public String getFileSizeUnit() {
		return fileSizeUnit;
	}
	public TsFilesInfo setFileSizeUnit(String fileSizeUnit) {
		this.fileSizeUnit = fileSizeUnit;
		return this;
	}
	public String getFilePath() {
		return filePath;
	}
	public TsFilesInfo setFilePath(String filePath) {
		this.filePath = filePath;
		return this;
	}
	public String getFileMark() {
		return fileMark;
	}
	public TsFilesInfo setFileMark(String fileMark) {
		this.fileMark = fileMark;
		return this;
	}
	public String getFieldName() {
		return fieldName;
	}
	public TsFilesInfo setFieldName(String fieldName) {
		this.fieldName = fieldName;
		return this;
	}
	public String getCreateUser() {
		return createUser;
	}
	public TsFilesInfo setCreateUser(String createUser) {
		this.createUser = createUser;
		return this;
	}
	public Integer getBHidden() {
		return bHidden;
	}
	public TsFilesInfo setBHidden(Integer bHidden) {
		this.bHidden = bHidden;
		return this;
	}
	public String getBidLogsticsOrder() {
		return bidLogsticsOrder;
	}
	public TsFilesInfo setBidLogsticsOrder(String bidLogsticsOrder) {
		this.bidLogsticsOrder = bidLogsticsOrder;
		return this;
	}
	public Date getShenbaoTime() {
		return shenbaoTime;
	}
	public TsFilesInfo setShenbaoTime(Date shenbaoTime) {
		this.shenbaoTime = shenbaoTime;
		return this;
	}
	public Integer getStateShenbao() {
		return stateShenbao;
	}
	public TsFilesInfo setStateShenbao(Integer stateShenbao) {
		this.stateShenbao = stateShenbao;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TsFilesInfo setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TsFilesInfo setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TsFilesInfo setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TsFilesInfo tsFilesInfo(
		String guid,
		String vtype,
		String fileName,
		String fileType,
		String fileSize,
		String fileSizeUnit,
		String filePath,
		String fileMark,
		String fieldName,
		String createUser,
		Integer bHidden,
		String bidLogsticsOrder,
		Date shenbaoTime,
		Integer stateShenbao,
		Integer status
			) {
		TsFilesInfo entity = new TsFilesInfo();
		entity.setGuid(guid);
		entity.setVtype(vtype);
		entity.setFileName(fileName);
		entity.setFileType(fileType);
		entity.setFileSize(fileSize);
		entity.setFileSizeUnit(fileSizeUnit);
		entity.setFilePath(filePath);
		entity.setFileMark(fileMark);
		entity.setFieldName(fieldName);
		entity.setCreateUser(createUser);
		entity.setBHidden(bHidden);
		entity.setBidLogsticsOrder(bidLogsticsOrder);
		entity.setShenbaoTime(shenbaoTime);
		entity.setStateShenbao(stateShenbao);
		entity.setStatus(status);
		return entity;
	}
}